package com.bulletflash.plugin.away3d4 
{
	import away3d.entities.Mesh;
	
	import flash.geom.Matrix3D;
	import flash.geom.Vector3D;
	
	import com.bulletflash.plugin.ISkin3D;
	
	public class Away3D4Mesh implements ISkin3D
	{
		private var _mesh:Mesh;
		
		public function Away3D4Mesh(do3d:Mesh)
		{
			this._mesh = do3d;
		}
		
		public function get transform():Matrix3D {
			return _mesh.transform;
		}
		
		public function set transform(m:Matrix3D):void 
		{
			_mesh.transform = m.clone();
		}
		
		public function get mesh():Mesh {
			return _mesh;
		}
	}

}